package com.econ.powercloud.ems.common.enums;

/**
 * @Author : zjf
 * @Description : 事件紧急程度
 * @Date : 2022/5/9 14:17
 * @Modified by : zjf
 */
public enum EventEmergency implements EnumMethod{
    GENERAL(1, "普通事件"),
    MIDDLE(2, "轻度事件"),
    SEVERE(3, "重要事件")
    ;

    private Integer code;

    private String desc;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    EventEmergency(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
